import VueRouter from "vue-router";

import OneC from "../pages/OneC.vue";
import TwoC from "../pages/TwoC.vue";
import ThreeC from "../pages/ThreeC.vue";
import TwoFirst from "../pages/TwoFirst.vue";
import TwoSecond from "../pages/TwoSecond.vue";

export default new VueRouter({
  routes: [
    {
      path: "/one",
      component: OneC,
    },
    {
      path: "/two",
      component: TwoC,
      children: [
        {
          path: "first",
          component: TwoFirst,
        },
        {
          path: "second",
          component: TwoSecond,
        },
      ],
    },
    {
      path: "/three",
      component: ThreeC,
    },
  ],
});
